package com.codeduck.injection.factory;

import com.codeduck.injection.entity.Keyboard;
import org.springframework.beans.factory.FactoryBean;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2021-12-24
 */
public class KeyboardFactoryBean implements FactoryBean<Keyboard> {
    @Override
    public Keyboard getObject() throws Exception {
        return new Keyboard();
    }

    @Override
    public Class<?> getObjectType() {
        return Keyboard.class;
    }

    /**
     *
     */
    @Override
    public boolean isSingleton() {
        return false;
    }
}
